﻿<local:ConfirmDialog x:Class="OfficeIntegration.ErrorList"
          xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           xmlns:local="clr-namespace:OfficeIntegration"
           Width="550" Height="Auto"
           Title="Errors on Import" MaxHeight="300"
           OkButtonTitle="Continue"
           x:ClassModifier="Internal">
    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <TextBlock TextWrapping="Wrap" Grid.Row="0"><Bold>Some data errors may occur importing this data.  Would you like to continue?</Bold></TextBlock>
        <ScrollViewer Grid.Row="1" ScrollViewer.VerticalScrollBarVisibility="Auto" ScrollViewer.HorizontalScrollBarVisibility="Auto" BorderThickness="0">
            <ItemsControl ItemsSource="{Binding}" />
        </ScrollViewer>
    </Grid>
</local:ConfirmDialog>
